import { ADC } from "./mutations-types";
export default {
  namespaced: true,
  state: {
    msg: "骚包陈鸿彬m",
  },
  getters: {
    fun(state) {
      return state.msg.toUpperCase();
    },
  },
  mutations: {
    [ADC](Store, str) {
      Store.msg += str;
    },
  },
  actions: {
    CALC(context, data) {
      setTimeout(() => {
        context.commit(ADC, data);
      }, 2000);
    },
  },
  modules: {},
};
